


from flask import Blueprint
from flask import url_for

blue = Blueprint('cardBlue',__name__)

@blue.route('/add/<bankname>')
def addCard(bankname):
    return "%s开户成功"%bankname

@blue.route('/select_bank')
def selectBank():
    bankname = "中国银行"
    # next_url = "/card/add/"+bankname
    return """
    选择银行成功，请返回<a href = "%s">开户页面</a>
    """% url_for('cardBlue.addCard',bankname=bankname)